﻿#ifndef UI_IMAGE_UTIL_H_
#define UI_IMAGE_UTIL_H_

namespace ui
{

class UILIB_API ImageUtil
{
public:
	/*
	format 大概有以下5种:
		image/bmp
		image/jpeg
		image/gif
		image/tiff
		image/png
	*/
	static bool GetImageCLSID(const wchar_t* format, CLSID* pCLSID);
	//static bool SaveImage(Gdiplus::Image& image, const std::wstring& file_path, std::wstring mime_type, long quality_num = 95);
};

}

#endif // UI_IMAGE_UTIL_H_
